package org.example.mapper;

import org.example.domain.Product;
import org.example.qo.QueryObject;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    int updateByPrimaryKey(Product record);

    int selectFroCount(QueryObject queryObject);

    List<Product> selectForList(QueryObject queryObject);
}